﻿using System;


namespace BizElements.BusinessLayer
{
    /// <summary>
    /// Object that provides a <see cref="ICodeList"/>.
    /// </summary>
    public interface ICodeListProvider
    {
        #region Methods.

        /// <summary>
        /// Fetches codelist from the data-source.
        /// </summary>
        /// <param name="actorRequestingData">Actor using the search engine.</param>
        /// <returns>Code list.</returns>
        ICodeList FetchCodeList(IActor actorRequestingData);

        #endregion
    }
}